package io.eleKing.boot.weather.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.eleKing.boot.weather.entity.WeatherHourData;
import io.eleKing.boot.weather.query.WeatherHourDataQuery;
import io.eleKing.boot.weather.vo.WeatherHourDataVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *  Mapper 接口
 *
 * @author eleKing
 * @since 2025-04-15
 */
@Mapper
public interface WeatherHourDataMapper extends BaseMapper<WeatherHourData> {

    /**
     * 详情
     *
     * @param id
     * @return
     */
    WeatherHourDataVo getWeatherHourDataById(Long id);

    /**
     * 分页列表
     *
     * @param query
     * @return
     */
    List<WeatherHourDataVo> getWeatherHourDataPage(WeatherHourDataQuery query);

}
